package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

//员工管理模块
public interface EmployeeService {

    //员工登录
    ResultInfo login(String username, String password);
    //员工列表
    List<Employee> findList(String namne);
    //新增员工
    void save(Employee employee);
    //回显员工
    Employee findById(Long id);
    //修改员工
    void updateById(Employee employee);
}
